<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		
		console.log(location)
		console.log(history)

		location.relaod()
		location.replace()
		location.assgin();

	</script>
</head>
<body>
	<p onclick="location.replace('http://www.baidu.com')">刷新 </p>

	<p onclick="history.back()">后退</p>
	<p onclick="history.forward()">前进</p>
	<p onclick="history.go(-3)">go -1</p>
</body>
</html>